let configData = {}
try {
	configData = uni.getStorageSync('config')
} catch (e) {
	console.log(e)
}

const states = {
	vuex_tabBar: configData.vuex_tabBar ? locationData.vuex_tabBar : [{
			iconPath: "/static/images/tabicon/home.png",
			selectedIconPath: "/static/images/tabicon/home_choose.png",
			text: '工作',
			pagePath: "/pages/index/index",
			customIcon: true,
		},
		{
			iconPath: "/static/images/tabicon/button_select.png",
			selectedIconPath: "/static/images/tabicon/button_select.png",
			text: '',
			midButton: true,
			pagePath: "/pages/reportRepair/index",
			customIcon: false,
		},
		{
			iconPath: "/static/images/tabicon/my.png",
			selectedIconPath: "/static/images/tabicon/my_choose.png",
			text: '我的',
			pagePath: "/pages/mine/index",
			customIcon: true
		}
	],

}


export default {
	namespaced: true,
	states,
}
